/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.doeacc.tms.web.bean;

import java.util.ResourceBundle;
import javax.ejb.EJB;
import javax.faces.bean.ManagedProperty;

/**
 *
 * @author Dipendra
 */
public abstract class AbstractBean<E> {
    @EJB
    private E facade;
    @ManagedProperty(value="#{msgs}")
    private ResourceBundle bundle;

    protected E getFacade() {
        return facade;
    }
    
    protected ResourceBundle getBundle() {
        return bundle;
    }
}
